/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ig.metrica.ui.formatos;

import javax.swing.JFrame;

/**
 *
 * @author usuario
 */
public class FormatoUnidadSubcuenta extends javax.swing.JInternalFrame {

    /**
     * Creates new form FormatoUnidadSubcuenta
     */
    public FormatoUnidadSubcuenta(JFrame  frame) throws Exception {
        initComponents();
        ventanas.addTab("Formato", new PantallaFormatos(frame));
        ventanas.addTab("Formato Unidad Subcuenta", new PantallaUnidadSubcuenta(frame));
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        ventanas = new javax.swing.JTabbedPane();

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(ventanas, javax.swing.GroupLayout.DEFAULT_SIZE, 652, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(ventanas, javax.swing.GroupLayout.DEFAULT_SIZE, 227, Short.MAX_VALUE)
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JTabbedPane ventanas;
    // End of variables declaration//GEN-END:variables
}
